package com.foton.designmodel.share.session;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 通过【享元模式】，实现用户信息共享
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public abstract class Session  {

    private String nickName;

    private String userName;

    private String sex;

    private int age;

    private int level;

    public abstract void handler();

}
